package Modele;

public class Restaurant {
	
	// Attributs de classe
	private String NomRestaurant = "";
	private Menu MenuRestaurant;
	
	// Constructeur param�trique
	public Restaurant(String NomRestaurant) throws Exception
	{
		this.MenuRestaurant = new Menu();
		this.setNomRestaurant(NomRestaurant);
	}
	
	// Mutateurs priv�s
	private void setNomRestaurant(String NomRestaurant) throws Exception
	{
		if (NomRestaurant != null && NomRestaurant != "")
			this.NomRestaurant = NomRestaurant;
		else
			throw new Exception ();
	}
	
	// Accesseurs publics
	public String getNomRestaurant()
	{
		return this.NomRestaurant;
	}
	
	public Menu getMenuRestaurant()
	{
		return this.MenuRestaurant;
	}
}